{% extends "technological/base.html" %}

{% block page_link %}
    <script src="../../static/technological/js/backlog.js"></script>
    <link rel="stylesheet" href="../../static/technological/css/style.css">
{% endblock %}


{% block style %}
    <style>
        .add_class{
            background: #1E90FF;
        }
        tr{
            height: 35px;
        }
        th{
            text-align: center;
        }
        table {
            table-layout: fixed;
        }
        td:first-child, th:first-child {
            position:sticky;
            left:0; /* 首行永远固定在左侧 */
            z-index:1;
        }
        thead tr th {
            position:sticky;
            top:0; /* 列首永远固定在头部  */
            background-color: #E8E8E8;
        }
        th:first-child{
            z-index:2;
        }
        .model_li{
            color: #3f414d;
            width: 25%;
            cursor: pointer;
            display: none;
        }
        .li-class{
            list-style: none;
            margin-top: 2%;
            color: #0b0b0b;
            cursor: pointer;
        }
    </style>
{% endblock %}



{% block right_content %}
    <div class="headline">
        <div style="width: 15%;height: 100%;line-height: 40px;float: left;padding-left: 1%;">
            <a href="workflow_table.html" style="color: #0b0b0b;">
                <i class="iconfont icon-daiban"></i>
                <span> 我的待办</span>
            </a>
        </div>
    </div>

    <div class="right-box" style="width: 100%;height: 95%;">
        <div style="height: 88%;width: 100%;overflow: auto;">
            <table class="table table-hover table-bordered" style="border-collapse: collapse;">
                <thead>
                    <tr>
                        <th scope="col" style="width: 3%;">序号</th>
                        <th scope="col" style="width: 8%;">申请人</th>
                        <th scope="col" style="width: 10%;">申请类别</th>
                        <th scope="col" style="width: 10%;">申请时间</th>
                        <th scope="col" style="width: 20%;">操作</th>
                    </tr>
                </thead>
                <tbody style="overflow: auto;" id="t_table"></tbody>
            </table>
            <div id="img-display" style="width: 75%;text-align: center;position: fixed;display: none;">
                <div style="margin-top: 10%;">
                    <img src="../../static/public_file/images/page-img/11.jpg" alt="">
                    <p style="margin: 0;padding: 0;vertical-align: top;">暂无数据</p>
                </div>
            </div>
        </div>
        <div style="width: 100%;border: #cfcfcf solid 0.5px;"></div>
        <div id="pagination" class="pagination" style="margin-left: 20px;margin-top: 1.5%;"></div>
    </div>

    <div class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog"   aria-hidden="true">
        <div class="modal-dialog modal-xl" style="margin-top: 3%;">
            <div class="modal-content"  style="height: 600px;border-radius: 7px;width: 900px;margin-left: 15%;background: #F8F8FF;">
                <div class="modal-header" style="height: 50px;">
                    <h5 class="modal-title" style="line-height: 50px;width: 10%;">选择委托人</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"  style="margin-right: 3%;line-height: 50px;">
                        <span aria-hidden="true" style="font-size: 28px;">&times;</span>
                    </button>
                </div>
                <div class="modal-body" style="height: 450px;">
                    <div style="display: inline-block;width: 30%;height: 70%;border-right: #E8E8E8 solid 1px;">
                        <div style="width: 100%;height: 35px;line-height: 35px;background: #98A6AD;padding-left: 2%;color: #0b0b0b">
                            选择部门
                        </div>
                        <div id="department_list" style="width: 100%;height: 95%;overflow: auto;">

                        </div>
                    </div>

                    <div style="display: inline-block;width: 69%;height: 70%;overflow: auto;vertical-align: top;left: 0;">
                        <table class="table table-hover table-bordered" style="border-collapse: collapse;">
                            <thead>
                                <tr>
                                    <th scope="col" style="width: 1%;">

                                    </th>
                                    <th scope="col" style="width: 2%;">序号</th>
                                    <th scope="col" style="width: 8%;">姓名</th>
                                </tr>
                            </thead>
                            <tbody style="overflow: auto;" id="t_table2"></tbody>
                        </table>
                        <div id="img-display1" style="width: 75%;text-align: center;">
                            <div style="margin-top: 10%;">
                                <img src="../../static/public_file/images/page-img/11.jpg" alt="">
                                <p style="margin: 0;padding: 0;vertical-align: top;">暂无数据</p>
                            </div>
                        </div>
                    </div>

                    <div style="height: 30%;width: 100%;border-top: #E8E8E8 solid 1px;overflow: auto;">
                        <div id="checked-label" style="margin-top: 1%;margin-left: 3%;">

                        </div>
                    </div>
                </div>
                <div class="modal-footer" style="height: 50px;">
                    <button id="model-close" type="button" class="btn btn-secondary" data-dismiss="modal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关&nbsp;闭&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</button>
                    <button id="model-affirm" type="button" class="btn btn-primary" style="margin-left: 2%;margin-right: 2%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;确&nbsp;认&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</button>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
